//
//  EFengOrganizationBaseView.h
//  WZEfengAndEtong
//
//  Created by wanzhao on 16/2/18.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CContactModel;
@class CGroupModel;


@protocol EFengOrganizationBaseViewDelegate <NSObject>

- (void)eFengOrganizationBaseViewDidSelectedWithContact:(CContactModel *)contact group:(CGroupModel *)group;
- (void)eFengOrganizationBaseViewDidCommitEdittingWithContact:(CContactModel *)contact group:(CGroupModel *)group;
- (void)eFengOrganizationBaseViewDidCreateDisscussion;

@end

@interface EFengOrganizationBaseView : UIView

@property (nonatomic, strong) UITableView *tableView;
StrongProperty NSArray *mineGroupArray;
StrongProperty NSArray *otherGroupArray;
//讨论组相关
StrongProperty NSArray *discussionArray;

StrongProperty NSArray *kefuList;
StrongProperty NSArray *changyongList;
StrongProperty NSArray *waibuList;

AssignProperty selectType type;


WeakProperty UILabel *noListLabel;
WeakProperty UIButton *createButton;
WeakProperty UIView *nolistView;
@property (nonatomic) BOOL isAnimation;
WeakProperty id<EFengOrganizationBaseViewDelegate> EFengOrganizationBaseViewDelegate;

@end
